package sanshui.system.trade.db.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import sanshui.system.trade.db.entity.TradeHisBatch;
import sanshui.system.trade.db.entity.TradeHisBatchExample;

public interface TradeHisBatchMapper {
    long countByExample(TradeHisBatchExample example);

    int deleteByExample(TradeHisBatchExample example);

    int deleteByPrimaryKey(Long batchId);

    int insert(TradeHisBatch record);

    int insertSelective(TradeHisBatch record);

    List<TradeHisBatch> selectByExampleWithRowbounds(TradeHisBatchExample example, RowBounds rowBounds);

    List<TradeHisBatch> selectByExample(TradeHisBatchExample example);

    TradeHisBatch selectByPrimaryKey(Long batchId);

    int updateByExampleSelective(@Param("record") TradeHisBatch record, @Param("example") TradeHisBatchExample example);

    int updateByExample(@Param("record") TradeHisBatch record, @Param("example") TradeHisBatchExample example);

    int updateByPrimaryKeySelective(TradeHisBatch record);

    int updateByPrimaryKey(TradeHisBatch record);
}